package com.wsoft.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 后台资源表
 * </p>
 *
 * @author juiet
 * @since 2024年11月18日 17:13:44
 */
@Getter
@Setter
@TableName("sys_resource")
@Schema(name = "SysResourceEntity", description = "后台资源表")
public class SysResourceEntity extends BaseEntity {

    @Schema(description = "资源名称")
    @TableField("name")
    private String name;

    @Schema(description = "资源URL")
    @TableField("url")
    private String url;

    @Schema(description = "描述")
    @TableField("description")
    private String description;

    @Schema(description = "资源分类ID")
    @TableField("category_id")
    private Long categoryId;
}
